package com.library.books.service.impl;

import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.library.books.domain.BooksLib;
import com.library.books.mapper.BooksLibMapper;
import com.library.books.service.IBooksLibService;
import org.springframework.stereotype.Service;

/**
 * 其他书籍库Service业务层处理
 *
 * @author hb
 * @date 2024-10-30
 */
@Service
public class BooksLibServiceImpl extends ServiceImpl<BooksLibMapper, BooksLib> implements IBooksLibService
{

    @Override
    public BooksLib selectBooksLibNewestByIsbn(String isbn) {
        return baseMapper.selectBooksLibNewestByIsbn(isbn);
    }

    @Override
    public boolean insert(BooksLib booksLib) {
        return baseMapper.insertBooksLib(booksLib);
    }
}
